<template>
  <div id="app">
    <el-container>
      <el-aside width="160px">
        <x-menu></x-menu>
      </el-aside>
      <el-container>
        <el-header><x-header></x-header></el-header>
        <el-main>
          <router-view/>
        </el-main>
        <el-footer height="30px"><x-footer></x-footer></el-footer>
      </el-container>
    </el-container>

  </div>
</template>

<script>
import menu from "@/components/menu.vue";
import header from "@/components/header.vue";
import footer from "@/components/footer.vue";

export default {
  components: { "x-menu": menu, "x-header": header, "x-footer": footer },
  name: "App"
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
a { text-decoration: none; }
body,
html {
  width: 100%;
  height: 100%;
}
#app {
  height: 100%;
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.el-container {
  height: 100%;
}

.el-header {
  background: #0d9bdd;
  color: #fff;
  line-height: 60px;
}

.el-footer {
  line-height: 30px;
  border-top: 1px solid #ddd;
}
.breadcrumb-wrap {
  padding: 0 0px 16px 10px;
    border-bottom: 1px solid #ddd;
}
</style>
